<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改业务预警关于反洗钱参数')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-data-edit" th:object="${paraWarnControlData}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">个人金额限额：</label>
                <div class="col-sm-8">
                    <input name="minAmt" th:field="*{minAmt}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">多少天交易日内：</label>
                <div class="col-sm-8">
                    <input name="dateNum" th:field="*{dateNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">预警编号：</label>
                <div class="col-sm-8">
                    <input name="primaryKey" th:field="*{primaryKey}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">交易次数：</label>
                <div class="col-sm-8">
                    <input name="washTimes" th:field="*{washTimes}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">金额限度：</label>
                <div class="col-sm-8">
                    <input name="maxAmt" th:field="*{maxAmt}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">多少天内：</label>
                <div class="col-sm-8">
                    <input name="dateCount" th:field="*{dateCount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">业务预警名称：</label>
                <div class="col-sm-8">
                    <input name="warnTypeName" th:field="*{warnTypeName}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "system/data";
        $("#form-data-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-data-edit').serialize());
            }
        }
    </script>
</body>
</html>